package com.hangsu.train.components.dao;

import com.hangsu.train.components.entity.RolePermiss;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RolePermissDao {

    int insert(RolePermiss rolePermiss);

    int insertBatch(@Param("permissList") List<RolePermiss> permissList);

    int delByRoleId(Long roleId);

}
